/*********************************************************************************
 *      Copyright:  (C) 2018 fulinux<fulinux@sina.com>
 *                  All rights reserved.
 *
 *       Filename:  demo.c
 *    Description:  This file 
 *                 
 *        Version:  1.0.0(09/06/2018)
 *         Author:  fulinux <fulinux@sina.com>
 *      ChangeLog:  1, Release initial version on "09/06/2018 03:13:24 PM"
 *                 
 ********************************************************************************/

#include <stdlib.h>
#include <stdio.h>
#include <hello.h>
#include "world.h"

/********************************************************************************
 *  Description:
 *   Input Args:
 *  Output Args:
 * Return Value:
 ********************************************************************************/
int main (int argc, char **argv)
{
#if 0
    list_node_t *list;
    list_node_t *p;

    list = list_create("fulinux");

    if(!list_insert_after(list, "hello")){
        perror("list_insert_after");
    }   

    if(!list_insert_end(list, "world")){
        perror("list_insert_end");
    } 

    for(p = list; p != NULL; p = p->next)
        printf("%s ", (char *)p->data);
    printf("\n");
#endif

    print_hello();
    print_world();

    return 0;
} /* ----- End of main() ----- */

